/*
 * jxUtils Project (2014)
 * 
 * by Denilson Edinaldo Pinto
 * 
 * LGPL
 * Copyright (C) 2014
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.jxUtils;

/**
 * @author Denilson Edinaldo Pinto
 * @porject jxUtils
 * @package org.jxUtils
 * @date 15/11/2014 - 19:06:52
 */
public final class JXConstants {
	
	public static final String ALFA = "[a-zA-Z]";
	
	public static final String CEP = "[0-9]{2}[\\.]{1}[0-9]{3}[-]{1}[0-9]{3}";
	
	public static final String CNPJ = "[0-9]{2}[\\.]{1}[0-9]{3}[\\.]{1}[0-9]{3}[/]{1}[0-9]{4}[-]{1}[0-9]{2}";
	
	public static final String CPF = "[0-9]{3}[\\.]{1}[0-9]{3}[\\.]{1}[0-9]{3}[-]{1}[0-9]{2}";
	
	public static final String EMAIL = "[a-zA-Z0-9\\._-]+@([a-zA-Z0-9_-]+\\.)+[a-zA-Z]+";
	
	public static final String HOUR = "([01]?[0-9]|2[0-3])";
	
	public static final String HOUR_MINUTE = HOUR + ":[0-5][0-9]{1,2}";
	
	public static final String HOUR_MINUTE_SECOND = HOUR_MINUTE + ":[0-5][0-9]{1,2}";
	
	public static final String HOUR_MINUTE_SECOND_MILI = HOUR_MINUTE_SECOND + "\\.[0-9]{1,3}";
	
	public static final String INTEGER_NUMBER = "[0-9]{1,}";
	
	public static final String IPv4 = "^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$";
	
	public static final String IPv6 = "^(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$";
	
	public static final String NEGATIVE_INTEGER_NUMBER = "[-]{1}" + INTEGER_NUMBER;
	
	public static final String REAL_NUMBER = "[0-9]{1,}([\\.]|[,])[0-9]{1,}";
	
	public static final String NEGATIVE_REAL_NUMBER = "[-]{1}" + REAL_NUMBER;
	
	public static final String PHONE_PT_BR = "\\((10|[1-9][1-9])\\)[9]{0,1}[2-9][0-9]{3}-[0-9]{4}";
	
	public static final String POSITIVE_INTEGER_NUMBER = "[+]{0,1}" + INTEGER_NUMBER;
	
	public static final String POSITIVE_REAL_NUMBER = "[+]{0,1}" + REAL_NUMBER;
	
	public static final String RG = "[0-9]{0,2}[\\.]{0,1}[0-9]{3}[\\.]{1}[0-9]{3}[-]{0,1}[0-9|x|X]{0,1}";
	
	public static final String TEXT_BACKSLASH = "\\";
	
	public static final String TEXT_BACKSPACE = "\b";
	
	public static final String TEXT_DOUBLE_QUOTE = "\"";
	
	public static final String TEXT_NEW_LINE = System.getProperty("line.separator");
	
	public static final String TEXT_NEW_PAGE = "\f";
	
	public static final String TEXT_RETURN = "\r";
	
	public static final String TEXT_SIMPLE_QUOTE = "'";
	
	public static final String TEXT_TAB_SPACE = "\t";
}
